import { get, post, remove, put } from '@/server/request'
import { baseApi, RequestCode ,download} from '@/server/base'

export const dataDerive={
   exportFile(param:{type:number|string,photoListId:number|string}){
       const {type,photoListId} =param
    return get(`${baseApi}/fileExport/exportAnnotationBatch/${type}/${photoListId}`);
   },
   getProject(){
    return get(`${baseApi}/project/listProject`);  
   },
   download(param:{filePath:string,offset:number,size:number}){
         return post(`${download}/download/file`,param)
   }
}